package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 hyrj_use_machine
 * 
 * @author ruoyi
 * @date 2024-03-10
 */
public class HyrjUseMachine extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 使用人id */
    @Excel(name = "使用人id")
    private Long userId;

    /** 洗衣机编码 */
    @Excel(name = "洗衣机编码")
    private String machineNo;

    /** 使用人时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "使用人时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date useTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setMachineNo(String machineNo) 
    {
        this.machineNo = machineNo;
    }

    public String getMachineNo() 
    {
        return machineNo;
    }
    public void setUseTime(Date useTime) 
    {
        this.useTime = useTime;
    }

    public Date getUseTime() 
    {
        return useTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("machineNo", getMachineNo())
            .append("useTime", getUseTime())
            .toString();
    }
}
